package com.pan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Coupon{
    Long id;
    String img;
    String name;
    Long createAdmin;
    Integer userLimit;
    Long growthLimit;
    Integer scorePrice;
    Double amount;
    Integer publishCount;
    Integer receiveCount;
    Integer useCount;
    Timestamp createDate;
    Timestamp startDate;
    Timestamp endDate;
    String note;
}